<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
          name="viewport">
    <meta content="ie=edge" http-equiv="X-UA-Compatible">
    <meta content="width=device-width, initial-scale=1" name="viewport">
    <title>Document</title>
    <link href="../boot/css/bootstrap.min.css" rel="stylesheet">
    <!--核心jquery js-->
    <script src="../boot/js/jquery-3.4.1.min.js"></script>
    <!--bootstrap 核心 js-->
    <script src="../boot/js/bootstrap.min.js"></script>
    <style>
        .aa {
            border: 1px red solid;
        }

        .bb {
            border: 1px green solid;
        }
    </style>
</head>
<body>
<div class="container">
    <div class="row">
        <div class="col-sm-2 aa">2</div>
        <div class="col-sm-10 aa">
            <div class="col-sm-1 bb col-sm-offset-2">10</div>
        </div>
    </div>
</div>
</body>
</html>